package com.cn.service.server.EM.UserInfo.Impl;

import com.cn.mapper.dao.db5.EM.UserInfo.UserDeDao;
import com.cn.mapper.dao.db5.sys.Sys_Sequence_Info_TDAO;
import com.cn.service.server.EM.UserInfo.UserDepartmentsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Service
@Transactional
public class UserDepartmentsServiceImpl implements UserDepartmentsService {
    private final UserDeDao userDeDao;
    private final Sys_Sequence_Info_TDAO sysSequenceInfoTdao;

    @Autowired(required = false)
    public UserDepartmentsServiceImpl(Sys_Sequence_Info_TDAO sysSequenceInfoTdao, UserDeDao userDeDao) {
        this.userDeDao = userDeDao;
        this.sysSequenceInfoTdao = sysSequenceInfoTdao;

    }




    @Override
    public List<com.cn.bean.vo.EM.UserInfo.UserDepartmentsBean> getUserDe(String jsonString) {
        return userDeDao.getUserDe(jsonString);
    }
}
